power: regulator: max77686 correct variable type
authorPeng Fan <[email protected]>
Tue, 28 Jul 2015 14:47:08 +0000 (22:47 +0800)
committerPrzemyslaw Marczak <[email protected]>
Wed, 12 Aug 2015 09:17:37 +0000 (11:17 +0200)
commit8640522d2d2d26caaf1805f3de696a7a6fb1cc22
tree1ec98cc4026e821599e8008085c7f35982e2c776
parent125914d4beb1e8319d7a04e6a6e88290763594f8
power: regulator: max77686 correct variable type

The return type of pmic_read and pmic_write is signed int, so
correct variable 'ret' from type unsigned int to int.

Signed-off-by: Peng Fan <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Przemyslaw Marczak <[email protected]>
drivers/power/regulator/max77686.c